package com.bw.mallshop.entity;

import com.bw.common.entity.BaseEntity;
import com.google.gson.Gson;

public class TokenEntity extends BaseEntity {

    private String values;

    public void setValues(String values) {
        this.values = values;
    }

    public Values getValues() {
        Values value = new Gson().fromJson(values,Values.class);
        return value;
    }

    public static class Values{
        public String token;
    }

}
